package com.bdqn.bookshop.vo;

import com.bdqn.bookshop.entity.MallUser;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : 罗若然[LUO_RUO_RAN]
 * @date : 2020-07-29 16:18
 **/
public class MallUserVo extends MallUser {

    private Integer page;//第几页
    private Integer limit;//每页多少行


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;//开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;//结束时间

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
